/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package testing;

import aktor.ChattingPasien;
import java.util.ArrayList;

/**
 *
 * @author WIN7
 */
public class testGetInbox_outbox_pasien {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        ChattingPasien chatp = new ChattingPasien();
        ArrayList<ChattingPasien> inbox = new ChattingPasien().getInbox("0002");
        System.out.print("Inbox = ");
        for (int i = 0; i < inbox.size(); i++) {
            System.out.print(inbox.get(i).getPesan()+ " ");

        }
//        System.out.println("Inbox = " + chatp.getInbox("0002"));
        System.out.println("Outbox = " + chatp.getOutbox("0004"));

    }
}
